package com.di;

public class MyBean {

	private WriterInterface writerInterface;
	
	public void setWriterInterface(WriterInterface writerInterface) {
		this.writerInterface = writerInterface;
	}
	
	public void run() {
		writerInterface.writer("Hi Rukshan!");
	}
}
